package com.hlpedu.pojo;

import lombok.*;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

@ToString
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    //添加一个对象属性
    private Cat cat;
    //添加一个数组类型的属性
    private String[] hobbies;
    //添加Properties类型的属性
    private Properties pro;
    //添加List/Set类型的属性
    private List<String> jobs;
    private Set<String> deptName;
    //添加map类型的参数
    private Map<String,Teacher> teacherMap;

}
